package top.mccat.common.core.domain.bk;

import org.apache.commons.lang3.builder.ToStringBuilder;
import org.apache.commons.lang3.builder.ToStringStyle;
import top.mccat.common.annotation.Excel;
import top.mccat.common.core.domain.BaseEntity;

/**
 * 仓库产品连接表对象 bk_product_base
 * 
 * @author Raven
 * @date 2023-01-10
 */
public class BkProductBase extends BaseEntity
{
    private static final long serialVersionUID = 1L;

    /** 仓库计数id */
    @Excel(name = "仓库计数id")
    private Integer baseId;

    /** 商品id */
    @Excel(name = "商品id")
    private Integer productId;

    public void setBaseId(Integer baseId) 
    {
        this.baseId = baseId;
    }

    public Integer getBaseId() 
    {
        return baseId;
    }
    public void setProductId(Integer productId) 
    {
        this.productId = productId;
    }

    public Integer getProductId() 
    {
        return productId;
    }

    @Override
    public String toString() {
        return new ToStringBuilder(this, ToStringStyle.MULTI_LINE_STYLE)
            .append("baseId", getBaseId())
            .append("productId", getProductId())
            .toString();
    }
}
